package com.fofia.iotweb.web.dbdomain.models.admin;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @TableName sys_menu
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Table("sys_menu")
public class SysMenu implements Serializable {
    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    private static final long serialVersionUID = 1L;

    /**
     * id
     *
     * @mbg.generated 2021-02-25 15:38:49
     */
    @Id(value = "id",keyType = KeyType.None)
    private Long id;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "menu_name")
    private String menuName;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "menu_url")
    private String menuUrl;

    /**
    *
     * @author yushuo
     * @description //权限标识
     * @date 16:38 2021/2/2
     * @param
     * @return
    **/
    @Column(value = "role_tag")
    private String roleTag;
    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "menu_sort")
    private int menuSort;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "parent_id")
    private Long parentId;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "remark")
    private String remark;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "create_person")
    private String createPerson;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "create_time")
    private Date createTime;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "iframe")
    private Boolean iframe;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "menu_level")
    private int menuLevel;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "menu_type")
    private int menuType;

    /**
     * 
     *
     * @mbg.generated Tue Jan 26 14:19:14 CST 2021
     */
    @Column(value = "menu_icon")
    private String menuIcon;


    @Column(ignore=true)
    private List<SysMenu> children;


    @Column(ignore=true)
    private String tabId;

}